package com.article.entity;

/**
 * TreeNode entity. @author MyEclipse Persistence Tools
 */

public class TreeNode implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8372436246781209090L;
	// Fields

	private Integer id;
	private String text;
	private Integer parentId;
	private Boolean leaf;
	private String linkUrl;
	private String iconCls;

	// Constructors

	/** default constructor */
	public TreeNode() {
	}

	/** full constructor */
	public TreeNode(String text, Integer parentId, Boolean leaf,
			String linkUrl, String iconCls) {
		this.text = text;
		this.parentId = parentId;
		this.leaf = leaf;
		this.linkUrl = linkUrl;
		this.iconCls = iconCls;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Boolean getLeaf() {
		return this.leaf;
	}

	public void setLeaf(Boolean leaf) {
		this.leaf = leaf;
	}

	public String getLinkUrl() {
		return this.linkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	public String getIconCls() {
		return this.iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

}